package com.originalpoint.origin_server.pojo.Dto;

import com.originalpoint.origin_server.pojo.Merchat;
import com.originalpoint.origin_server.pojo.News;
import com.originalpoint.origin_server.pojo.User;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "NewsUMDto" ,description = "封装着评论，商家和客户的信息")
public class NewsUMDto {
    @Schema(name = "news" ,description = "封装着评论的信息")
    private News news;

    @Schema(name = "merchat" ,description = "封装着商家的信息")
    private Merchat merchat;

    @Schema(name = "user" ,description = "封装着客户的信息")
    private User user;
}
